<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: master.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('master_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">master.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT master methods.  
<a href="#details">More...</a></p>

<p><a href="master_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a751f4190b1539458133007dbf61b05f7"><td class="memItemLeft" align="right" valign="top"><a id="a751f4190b1539458133007dbf61b05f7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a751f4190b1539458133007dbf61b05f7">DEBUG_INJECT</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a751f4190b1539458133007dbf61b05f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 1 to enable external datagram injection debugging. <br /></td></tr>
<tr class="separator:a751f4190b1539458133007dbf61b05f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac767bf3e8f388127d3acdf822a7bbe50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac767bf3e8f388127d3acdf822a7bbe50">EC_FIND_SLAVE</a></td></tr>
<tr class="memdesc:ac767bf3e8f388127d3acdf822a7bbe50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Common implementation for <a class="el" href="master_8c.html#a219b6e4e9e03c176c716a9f77a745c53" title="Finds a slave in the bus, given the alias and position. ">ec_master_find_slave()</a> and <a class="el" href="master_8c.html#a9a4d59c5ff4563f659dbebe5ca6dc505" title="Finds a slave in the bus, given the alias and position. ">ec_master_find_slave_const()</a>.  <a href="#ac767bf3e8f388127d3acdf822a7bbe50">More...</a><br /></td></tr>
<tr class="separator:ac767bf3e8f388127d3acdf822a7bbe50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5318cdfa66be853bd7c04b9ebe445f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ae5318cdfa66be853bd7c04b9ebe445f3">EC_FIND_CONFIG</a></td></tr>
<tr class="memdesc:ae5318cdfa66be853bd7c04b9ebe445f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Common implementation for <a class="el" href="master_8c.html#a401f275d34a9ef5b85879e6a3d4f1507" title="Get a slave configuration via its position in the list. ">ec_master_get_config()</a> and <a class="el" href="master_8c.html#ab4688a44f35279c37bf4add37c49daf9" title="Get a slave configuration via its position in the list. ">ec_master_get_config_const()</a>.  <a href="#ae5318cdfa66be853bd7c04b9ebe445f3">More...</a><br /></td></tr>
<tr class="separator:ae5318cdfa66be853bd7c04b9ebe445f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9f5576287074fe04d844bf8541a1648"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac9f5576287074fe04d844bf8541a1648">EC_FIND_DOMAIN</a></td></tr>
<tr class="memdesc:ac9f5576287074fe04d844bf8541a1648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Common implementation for <a class="el" href="master_8c.html#a8d22634713ccbe95cb40767cda5375a2" title="Get a domain via its position in the list. ">ec_master_find_domain()</a> and <a class="el" href="master_8c.html#ac767fa3488ddfc5a678d2949e40acdc4" title="Get a domain via its position in the list. ">ec_master_find_domain_const()</a>.  <a href="#ac9f5576287074fe04d844bf8541a1648">More...</a><br /></td></tr>
<tr class="separator:ac9f5576287074fe04d844bf8541a1648"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a77edb71466de18f2677fa063f55d3b09"><td class="memItemLeft" align="right" valign="top"><a id="a77edb71466de18f2677fa063f55d3b09"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a77edb71466de18f2677fa063f55d3b09">ec_master_clear_slave_configs</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a77edb71466de18f2677fa063f55d3b09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all slave configurations. <br /></td></tr>
<tr class="separator:a77edb71466de18f2677fa063f55d3b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9ccf4ab2c24f500464622000981844"><td class="memItemLeft" align="right" valign="top"><a id="a6e9ccf4ab2c24f500464622000981844"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a6e9ccf4ab2c24f500464622000981844">ec_master_clear_domains</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a6e9ccf4ab2c24f500464622000981844"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all domains. <br /></td></tr>
<tr class="separator:a6e9ccf4ab2c24f500464622000981844"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34819c03f2cc0f76b5926b0708c31af5"><td class="memItemLeft" align="right" valign="top"><a id="a34819c03f2cc0f76b5926b0708c31af5"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a34819c03f2cc0f76b5926b0708c31af5">ec_master_idle_thread</a> (void *priv_data)</td></tr>
<tr class="memdesc:a34819c03f2cc0f76b5926b0708c31af5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Master kernel thread function for IDLE phase. <br /></td></tr>
<tr class="separator:a34819c03f2cc0f76b5926b0708c31af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39fe9468a131cd1c27bbd67420e9ead2"><td class="memItemLeft" align="right" valign="top"><a id="a39fe9468a131cd1c27bbd67420e9ead2"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a39fe9468a131cd1c27bbd67420e9ead2">ec_master_operation_thread</a> (void *priv_data)</td></tr>
<tr class="memdesc:a39fe9468a131cd1c27bbd67420e9ead2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Master kernel thread function for OPERATION phase. <br /></td></tr>
<tr class="separator:a39fe9468a131cd1c27bbd67420e9ead2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d4a1d66e6ba537a2838cbae62fa24f"><td class="memItemLeft" align="right" valign="top"><a id="a17d4a1d66e6ba537a2838cbae62fa24f"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a17d4a1d66e6ba537a2838cbae62fa24f">ec_master_eoe_thread</a> (void *priv_data)</td></tr>
<tr class="memdesc:a17d4a1d66e6ba537a2838cbae62fa24f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the Ethernet over EtherCAT processing. <br /></td></tr>
<tr class="separator:a17d4a1d66e6ba537a2838cbae62fa24f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46e3a01cc6b9385c1f18a44dd16bb47b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a46e3a01cc6b9385c1f18a44dd16bb47b">ec_master_find_dc_ref_clock</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a46e3a01cc6b9385c1f18a44dd16bb47b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the DC reference clock.  <a href="#a46e3a01cc6b9385c1f18a44dd16bb47b">More...</a><br /></td></tr>
<tr class="separator:a46e3a01cc6b9385c1f18a44dd16bb47b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7bf56162a722865aad0fbbd09213ac7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac7bf56162a722865aad0fbbd09213ac7">ec_master_clear_device_stats</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ac7bf56162a722865aad0fbbd09213ac7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the common device statistics.  <a href="#ac7bf56162a722865aad0fbbd09213ac7">More...</a><br /></td></tr>
<tr class="separator:ac7bf56162a722865aad0fbbd09213ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d2ce490ddb53cdaa8b555a957a21666"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a0d2ce490ddb53cdaa8b555a957a21666">ec_master_update_device_stats</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a0d2ce490ddb53cdaa8b555a957a21666"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the common device statistics.  <a href="#a0d2ce490ddb53cdaa8b555a957a21666">More...</a><br /></td></tr>
<tr class="separator:a0d2ce490ddb53cdaa8b555a957a21666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1042d68ede5c0f866dc185b89167b31f"><td class="memItemLeft" align="right" valign="top"><a id="a1042d68ede5c0f866dc185b89167b31f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a1042d68ede5c0f866dc185b89167b31f">ec_master_init_static</a> (void)</td></tr>
<tr class="memdesc:a1042d68ede5c0f866dc185b89167b31f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static variables initializer. <br /></td></tr>
<tr class="separator:a1042d68ede5c0f866dc185b89167b31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67209c37a6cbcb6e0db918e85dc74159"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a67209c37a6cbcb6e0db918e85dc74159">ec_master_init</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int index, const uint8_t *main_mac, const uint8_t *backup_mac, dev_t <a class="el" href="module_8c.html#a0677101bf6615d80dd58c8a6fcff850d">device_number</a>, struct <a class="el" href="module_8c.html#a9b6474dd18270738a5c4853fd93b5e70">class</a> *<a class="el" href="module_8c.html#a9b6474dd18270738a5c4853fd93b5e70">class</a>, unsigned int <a class="el" href="module_8c.html#aaa02d25ef5eac3392189e2fae80a6fad">debug_level</a>)</td></tr>
<tr class="memdesc:a67209c37a6cbcb6e0db918e85dc74159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Master constructor.  <a href="#a67209c37a6cbcb6e0db918e85dc74159">More...</a><br /></td></tr>
<tr class="separator:a67209c37a6cbcb6e0db918e85dc74159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe60d9fca60eab2dcb0654337caa338e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#abe60d9fca60eab2dcb0654337caa338e">ec_master_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:abe60d9fca60eab2dcb0654337caa338e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#abe60d9fca60eab2dcb0654337caa338e">More...</a><br /></td></tr>
<tr class="separator:abe60d9fca60eab2dcb0654337caa338e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba1142e8379ff8c46c773b718ccc427d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aba1142e8379ff8c46c773b718ccc427d">ec_master_clear_eoe_handlers</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aba1142e8379ff8c46c773b718ccc427d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear and free all EoE handlers.  <a href="#aba1142e8379ff8c46c773b718ccc427d">More...</a><br /></td></tr>
<tr class="separator:aba1142e8379ff8c46c773b718ccc427d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc070614154a93395c518000cb62267d"><td class="memItemLeft" align="right" valign="top"><a id="abc070614154a93395c518000cb62267d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#abc070614154a93395c518000cb62267d">ec_master_clear_slaves</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:abc070614154a93395c518000cb62267d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all slaves. <br /></td></tr>
<tr class="separator:abc070614154a93395c518000cb62267d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac628f5e9972d30a808ca4fa704be01db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac628f5e9972d30a808ca4fa704be01db">ec_master_clear_config</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ac628f5e9972d30a808ca4fa704be01db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the configuration applied by the application.  <a href="#ac628f5e9972d30a808ca4fa704be01db">More...</a><br /></td></tr>
<tr class="separator:ac628f5e9972d30a808ca4fa704be01db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac32d5757e56de259d18bdea5530eefe6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac32d5757e56de259d18bdea5530eefe6">ec_master_internal_send_cb</a> (void *cb_data)</td></tr>
<tr class="memdesc:ac32d5757e56de259d18bdea5530eefe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal sending callback.  <a href="#ac32d5757e56de259d18bdea5530eefe6">More...</a><br /></td></tr>
<tr class="separator:ac32d5757e56de259d18bdea5530eefe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb9546182be85789ea86c822ffbfbb58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#afb9546182be85789ea86c822ffbfbb58">ec_master_internal_receive_cb</a> (void *cb_data)</td></tr>
<tr class="memdesc:afb9546182be85789ea86c822ffbfbb58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal receiving callback.  <a href="#afb9546182be85789ea86c822ffbfbb58">More...</a><br /></td></tr>
<tr class="separator:afb9546182be85789ea86c822ffbfbb58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a145bcb37a6bd22d01708c905a931f891"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a145bcb37a6bd22d01708c905a931f891">ec_master_thread_start</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, int(*thread_func)(void *), const char *name)</td></tr>
<tr class="memdesc:a145bcb37a6bd22d01708c905a931f891"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the master thread.  <a href="#a145bcb37a6bd22d01708c905a931f891">More...</a><br /></td></tr>
<tr class="separator:a145bcb37a6bd22d01708c905a931f891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeb7a50f8ddf5da026a29fa6a0a0ad5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#afeb7a50f8ddf5da026a29fa6a0a0ad5e">ec_master_thread_stop</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:afeb7a50f8ddf5da026a29fa6a0a0ad5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the master thread.  <a href="#afeb7a50f8ddf5da026a29fa6a0a0ad5e">More...</a><br /></td></tr>
<tr class="separator:afeb7a50f8ddf5da026a29fa6a0a0ad5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a953107732b8b44631afcb3d2f82964a0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a953107732b8b44631afcb3d2f82964a0">ec_master_enter_idle_phase</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a953107732b8b44631afcb3d2f82964a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transition function from ORPHANED to IDLE phase.  <a href="#a953107732b8b44631afcb3d2f82964a0">More...</a><br /></td></tr>
<tr class="separator:a953107732b8b44631afcb3d2f82964a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a064c1933a370bf502e0bf42e15ae45f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a064c1933a370bf502e0bf42e15ae45f9">ec_master_leave_idle_phase</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a064c1933a370bf502e0bf42e15ae45f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transition function from IDLE to ORPHANED phase.  <a href="#a064c1933a370bf502e0bf42e15ae45f9">More...</a><br /></td></tr>
<tr class="separator:a064c1933a370bf502e0bf42e15ae45f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fce542facf1fd0cee605b15b9a9e890"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a3fce542facf1fd0cee605b15b9a9e890">ec_master_enter_operation_phase</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a3fce542facf1fd0cee605b15b9a9e890"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transition function from IDLE to OPERATION phase.  <a href="#a3fce542facf1fd0cee605b15b9a9e890">More...</a><br /></td></tr>
<tr class="separator:a3fce542facf1fd0cee605b15b9a9e890"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7481d16bd218ab84f395a0382b4de64"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ae7481d16bd218ab84f395a0382b4de64">ec_master_leave_operation_phase</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ae7481d16bd218ab84f395a0382b4de64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transition function from OPERATION to IDLE phase.  <a href="#ae7481d16bd218ab84f395a0382b4de64">More...</a><br /></td></tr>
<tr class="separator:ae7481d16bd218ab84f395a0382b4de64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a832eb2e0abbe7a75055672a08175a2f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a832eb2e0abbe7a75055672a08175a2f4">ec_master_inject_external_datagrams</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a832eb2e0abbe7a75055672a08175a2f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Injects external datagrams that fit into the datagram queue.  <a href="#a832eb2e0abbe7a75055672a08175a2f4">More...</a><br /></td></tr>
<tr class="separator:a832eb2e0abbe7a75055672a08175a2f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a325dee2c1fc8729911c9dc9b4c9c35a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a325dee2c1fc8729911c9dc9b4c9c35a3">ec_master_set_send_interval</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int send_interval)</td></tr>
<tr class="memdesc:a325dee2c1fc8729911c9dc9b4c9c35a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the expected interval between calls to ecrt_master_send and calculates the maximum amount of data to queue.  <a href="#a325dee2c1fc8729911c9dc9b4c9c35a3">More...</a><br /></td></tr>
<tr class="separator:a325dee2c1fc8729911c9dc9b4c9c35a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a176aa87adf1dc845b1cdc2f1becb3172"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a176aa87adf1dc845b1cdc2f1becb3172">ec_master_get_external_datagram</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a176aa87adf1dc845b1cdc2f1becb3172"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches for a free datagram in the external datagram ring.  <a href="#a176aa87adf1dc845b1cdc2f1becb3172">More...</a><br /></td></tr>
<tr class="separator:a176aa87adf1dc845b1cdc2f1becb3172"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f08b9fccbb8528e7cdff3ab096d1a2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a4f08b9fccbb8528e7cdff3ab096d1a2e">ec_master_queue_datagram</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a4f08b9fccbb8528e7cdff3ab096d1a2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Places a datagram in the datagram queue.  <a href="#a4f08b9fccbb8528e7cdff3ab096d1a2e">More...</a><br /></td></tr>
<tr class="separator:a4f08b9fccbb8528e7cdff3ab096d1a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee969becffc63a8ea23b40fcfad75e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a4ee969becffc63a8ea23b40fcfad75e9">ec_master_queue_datagram_ext</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a4ee969becffc63a8ea23b40fcfad75e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Places a datagram in the non-application datagram queue.  <a href="#a4ee969becffc63a8ea23b40fcfad75e9">More...</a><br /></td></tr>
<tr class="separator:a4ee969becffc63a8ea23b40fcfad75e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac505facdaf5fc54a3b20be8d4ec27747"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac505facdaf5fc54a3b20be8d4ec27747">ec_master_send_datagrams</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="globals_8h.html#ad1a2101422888687598d7e1a630c6343">ec_device_index_t</a> device_index)</td></tr>
<tr class="memdesc:ac505facdaf5fc54a3b20be8d4ec27747"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends the datagrams in the queue for a certain device.  <a href="#ac505facdaf5fc54a3b20be8d4ec27747">More...</a><br /></td></tr>
<tr class="separator:ac505facdaf5fc54a3b20be8d4ec27747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64c31b83d02d9d7b92ee78396115d352"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a64c31b83d02d9d7b92ee78396115d352">ec_master_receive_datagrams</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, const uint8_t *frame_data, size_t size)</td></tr>
<tr class="memdesc:a64c31b83d02d9d7b92ee78396115d352"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes a received frame.  <a href="#a64c31b83d02d9d7b92ee78396115d352">More...</a><br /></td></tr>
<tr class="separator:a64c31b83d02d9d7b92ee78396115d352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac54b1ad537b965a8c8b30853aae4f299"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac54b1ad537b965a8c8b30853aae4f299">ec_master_output_stats</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ac54b1ad537b965a8c8b30853aae4f299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output master statistics.  <a href="#ac54b1ad537b965a8c8b30853aae4f299">More...</a><br /></td></tr>
<tr class="separator:ac54b1ad537b965a8c8b30853aae4f299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2532297f68368abd6ebe4f7ca4ecb118"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a2532297f68368abd6ebe4f7ca4ecb118">ec_master_exec_slave_fsms</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a2532297f68368abd6ebe4f7ca4ecb118"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute slave FSMs.  <a href="#a2532297f68368abd6ebe4f7ca4ecb118">More...</a><br /></td></tr>
<tr class="separator:a2532297f68368abd6ebe4f7ca4ecb118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6990c94548e6bae3046fce058290568a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a6990c94548e6bae3046fce058290568a">ec_master_eoe_start</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a6990c94548e6bae3046fce058290568a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts Ethernet over EtherCAT processing on demand.  <a href="#a6990c94548e6bae3046fce058290568a">More...</a><br /></td></tr>
<tr class="separator:a6990c94548e6bae3046fce058290568a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6bc3661b0ddb2397967861e7b260143"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac6bc3661b0ddb2397967861e7b260143">ec_master_eoe_stop</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ac6bc3661b0ddb2397967861e7b260143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the Ethernet over EtherCAT processing.  <a href="#ac6bc3661b0ddb2397967861e7b260143">More...</a><br /></td></tr>
<tr class="separator:ac6bc3661b0ddb2397967861e7b260143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabba4d8b5b431401a0b851dca5387a03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aabba4d8b5b431401a0b851dca5387a03">ec_master_attach_slave_configs</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aabba4d8b5b431401a0b851dca5387a03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches the slave configurations to the slaves.  <a href="#aabba4d8b5b431401a0b851dca5387a03">More...</a><br /></td></tr>
<tr class="separator:aabba4d8b5b431401a0b851dca5387a03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a219b6e4e9e03c176c716a9f77a745c53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a219b6e4e9e03c176c716a9f77a745c53">ec_master_find_slave</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t alias, uint16_t position)</td></tr>
<tr class="memdesc:a219b6e4e9e03c176c716a9f77a745c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a slave in the bus, given the alias and position.  <a href="#a219b6e4e9e03c176c716a9f77a745c53">More...</a><br /></td></tr>
<tr class="separator:a219b6e4e9e03c176c716a9f77a745c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4d59c5ff4563f659dbebe5ca6dc505"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a9a4d59c5ff4563f659dbebe5ca6dc505">ec_master_find_slave_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t alias, uint16_t position)</td></tr>
<tr class="memdesc:a9a4d59c5ff4563f659dbebe5ca6dc505"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a slave in the bus, given the alias and position.  <a href="#a9a4d59c5ff4563f659dbebe5ca6dc505">More...</a><br /></td></tr>
<tr class="separator:a9a4d59c5ff4563f659dbebe5ca6dc505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abed3c7080b03023e5dd744f7ffe400b3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#abed3c7080b03023e5dd744f7ffe400b3">ec_master_config_count</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:abed3c7080b03023e5dd744f7ffe400b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of slave configurations provided by the application.  <a href="#abed3c7080b03023e5dd744f7ffe400b3">More...</a><br /></td></tr>
<tr class="separator:abed3c7080b03023e5dd744f7ffe400b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401f275d34a9ef5b85879e6a3d4f1507"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a401f275d34a9ef5b85879e6a3d4f1507">ec_master_get_config</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int pos)</td></tr>
<tr class="memdesc:a401f275d34a9ef5b85879e6a3d4f1507"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a slave configuration via its position in the list.  <a href="#a401f275d34a9ef5b85879e6a3d4f1507">More...</a><br /></td></tr>
<tr class="separator:a401f275d34a9ef5b85879e6a3d4f1507"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4688a44f35279c37bf4add37c49daf9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ab4688a44f35279c37bf4add37c49daf9">ec_master_get_config_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int pos)</td></tr>
<tr class="memdesc:ab4688a44f35279c37bf4add37c49daf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a slave configuration via its position in the list.  <a href="#ab4688a44f35279c37bf4add37c49daf9">More...</a><br /></td></tr>
<tr class="separator:ab4688a44f35279c37bf4add37c49daf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec56a429afe6e1833d36cb90870329fd"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aec56a429afe6e1833d36cb90870329fd">ec_master_domain_count</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aec56a429afe6e1833d36cb90870329fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of domains.  <a href="#aec56a429afe6e1833d36cb90870329fd">More...</a><br /></td></tr>
<tr class="separator:aec56a429afe6e1833d36cb90870329fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d22634713ccbe95cb40767cda5375a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a8d22634713ccbe95cb40767cda5375a2">ec_master_find_domain</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int index)</td></tr>
<tr class="memdesc:a8d22634713ccbe95cb40767cda5375a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a domain via its position in the list.  <a href="#a8d22634713ccbe95cb40767cda5375a2">More...</a><br /></td></tr>
<tr class="separator:a8d22634713ccbe95cb40767cda5375a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac767fa3488ddfc5a678d2949e40acdc4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ac767fa3488ddfc5a678d2949e40acdc4">ec_master_find_domain_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int index)</td></tr>
<tr class="memdesc:ac767fa3488ddfc5a678d2949e40acdc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a domain via its position in the list.  <a href="#ac767fa3488ddfc5a678d2949e40acdc4">More...</a><br /></td></tr>
<tr class="separator:ac767fa3488ddfc5a678d2949e40acdc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fcf7d0815f5e4bf041fd083857cd7b4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a1fcf7d0815f5e4bf041fd083857cd7b4">ec_master_eoe_handler_count</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a1fcf7d0815f5e4bf041fd083857cd7b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of EoE handlers.  <a href="#a1fcf7d0815f5e4bf041fd083857cd7b4">More...</a><br /></td></tr>
<tr class="separator:a1fcf7d0815f5e4bf041fd083857cd7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ee4d7fd000942ce4ca9d2072a924d08"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="ethernet_8h.html#a03b01351f25a9210938e676941427cf4">ec_eoe_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a8ee4d7fd000942ce4ca9d2072a924d08">ec_master_get_eoe_handler_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t index)</td></tr>
<tr class="memdesc:a8ee4d7fd000942ce4ca9d2072a924d08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an EoE handler via its position in the list.  <a href="#a8ee4d7fd000942ce4ca9d2072a924d08">More...</a><br /></td></tr>
<tr class="separator:a8ee4d7fd000942ce4ca9d2072a924d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9536093761b5644505db208de1ff6f3d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a9536093761b5644505db208de1ff6f3d">ec_master_debug_level</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int level)</td></tr>
<tr class="memdesc:a9536093761b5644505db208de1ff6f3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the debug level.  <a href="#a9536093761b5644505db208de1ff6f3d">More...</a><br /></td></tr>
<tr class="separator:a9536093761b5644505db208de1ff6f3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a185dec218540303a0d13432003226c24"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a185dec218540303a0d13432003226c24">ec_master_calc_topology_rec</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *port0_slave, unsigned int *slave_position)</td></tr>
<tr class="memdesc:a185dec218540303a0d13432003226c24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the bus topology; recursion function.  <a href="#a185dec218540303a0d13432003226c24">More...</a><br /></td></tr>
<tr class="separator:a185dec218540303a0d13432003226c24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3efc174486826b61475631bb8f174921"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a3efc174486826b61475631bb8f174921">ec_master_calc_topology</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a3efc174486826b61475631bb8f174921"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the bus topology.  <a href="#a3efc174486826b61475631bb8f174921">More...</a><br /></td></tr>
<tr class="separator:a3efc174486826b61475631bb8f174921"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad29114739c2b893d0213da1077a1e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aaad29114739c2b893d0213da1077a1e5">ec_master_calc_transmission_delays</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aaad29114739c2b893d0213da1077a1e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the bus transmission delays.  <a href="#aaad29114739c2b893d0213da1077a1e5">More...</a><br /></td></tr>
<tr class="separator:aaad29114739c2b893d0213da1077a1e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd73ba61769411a24cbd11aa2e6eff0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aafd73ba61769411a24cbd11aa2e6eff0">ec_master_calc_dc</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aafd73ba61769411a24cbd11aa2e6eff0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Distributed-clocks calculations.  <a href="#aafd73ba61769411a24cbd11aa2e6eff0">More...</a><br /></td></tr>
<tr class="separator:aafd73ba61769411a24cbd11aa2e6eff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0511f992dad4de50b21d3bb02c7ef3d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a0511f992dad4de50b21d3bb02c7ef3d9">ec_master_request_op</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:a0511f992dad4de50b21d3bb02c7ef3d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request OP state for configured slaves.  <a href="#a0511f992dad4de50b21d3bb02c7ef3d9">More...</a><br /></td></tr>
<tr class="separator:a0511f992dad4de50b21d3bb02c7ef3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1f4eb5317fbcaa6f25ff49199beede6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#aa1f4eb5317fbcaa6f25ff49199beede6">ecrt_master_create_domain_err</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:aa1f4eb5317fbcaa6f25ff49199beede6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e" title="Creates a new process data domain. ">ecrt_master_create_domain()</a>, but with ERR_PTR() return value.  <a href="#aa1f4eb5317fbcaa6f25ff49199beede6">More...</a><br /></td></tr>
<tr class="separator:aa1f4eb5317fbcaa6f25ff49199beede6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4ede07f05b211667078ab2b2396da6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e">ecrt_master_create_domain</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:gae4ede07f05b211667078ab2b2396da6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new process data domain.  <a href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e">More...</a><br /></td></tr>
<tr class="separator:gae4ede07f05b211667078ab2b2396da6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa44bdeca52f4e821838f4291637103ac"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaa44bdeca52f4e821838f4291637103ac">ecrt_master_activate</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:gaa44bdeca52f4e821838f4291637103ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes the configuration phase and prepares for cyclic operation.  <a href="group__ApplicationInterface.html#gaa44bdeca52f4e821838f4291637103ac">More...</a><br /></td></tr>
<tr class="separator:gaa44bdeca52f4e821838f4291637103ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46b3fe78742ddf929b624103432ec4dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga46b3fe78742ddf929b624103432ec4dd">ecrt_master_deactivate</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga46b3fe78742ddf929b624103432ec4dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deactivates the master.  <a href="group__ApplicationInterface.html#ga46b3fe78742ddf929b624103432ec4dd">More...</a><br /></td></tr>
<tr class="separator:ga46b3fe78742ddf929b624103432ec4dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga453f787866ee66afb98130cf4723762d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga453f787866ee66afb98130cf4723762d">ecrt_master_send</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga453f787866ee66afb98130cf4723762d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends all datagrams in the queue.  <a href="group__ApplicationInterface.html#ga453f787866ee66afb98130cf4723762d">More...</a><br /></td></tr>
<tr class="separator:ga453f787866ee66afb98130cf4723762d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9544e79db51c59a96af6493025cdc933"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga9544e79db51c59a96af6493025cdc933">ecrt_master_receive</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga9544e79db51c59a96af6493025cdc933"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetches received frames from the hardware and processes the datagrams.  <a href="group__ApplicationInterface.html#ga9544e79db51c59a96af6493025cdc933">More...</a><br /></td></tr>
<tr class="separator:ga9544e79db51c59a96af6493025cdc933"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62360cb642f555269d64df1111f6c771"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga62360cb642f555269d64df1111f6c771">ecrt_master_send_ext</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga62360cb642f555269d64df1111f6c771"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends non-application datagrams.  <a href="group__ApplicationInterface.html#ga62360cb642f555269d64df1111f6c771">More...</a><br /></td></tr>
<tr class="separator:ga62360cb642f555269d64df1111f6c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85113663dfc43d6b39e684859f948cc"><td class="memItemLeft" align="right" valign="top"><a id="ab85113663dfc43d6b39e684859f948cc"></a>
<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#ab85113663dfc43d6b39e684859f948cc">ecrt_master_slave_config_err</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t alias, uint16_t position, uint32_t vendor_id, uint32_t product_code)</td></tr>
<tr class="memdesc:ab85113663dfc43d6b39e684859f948cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b" title="Obtains a slave configuration. ">ecrt_master_slave_config()</a>, but with ERR_PTR() return value. <br /></td></tr>
<tr class="separator:ab85113663dfc43d6b39e684859f948cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa190a5d3aa2a72b8950ef93aa7baab0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b">ecrt_master_slave_config</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t alias, uint16_t position, uint32_t vendor_id, uint32_t product_code)</td></tr>
<tr class="memdesc:gaa190a5d3aa2a72b8950ef93aa7baab0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains a slave configuration.  <a href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b">More...</a><br /></td></tr>
<tr class="separator:gaa190a5d3aa2a72b8950ef93aa7baab0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31983aeee279fc5acaf5f7a0bb403160"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga31983aeee279fc5acaf5f7a0bb403160">ecrt_master_select_reference_clock</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:ga31983aeee279fc5acaf5f7a0bb403160"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the reference clock for distributed clocks.  <a href="group__ApplicationInterface.html#ga31983aeee279fc5acaf5f7a0bb403160">More...</a><br /></td></tr>
<tr class="separator:ga31983aeee279fc5acaf5f7a0bb403160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaefdb3b2d46b945fa6ebd65c4c5f16b8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaefdb3b2d46b945fa6ebd65c4c5f16b8b">ecrt_master</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="structec__master__info__t.html">ec_master_info_t</a> *master_info)</td></tr>
<tr class="memdesc:gaefdb3b2d46b945fa6ebd65c4c5f16b8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains master information.  <a href="group__ApplicationInterface.html#gaefdb3b2d46b945fa6ebd65c4c5f16b8b">More...</a><br /></td></tr>
<tr class="separator:gaefdb3b2d46b945fa6ebd65c4c5f16b8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a1a9398f7c1e17e4da8243fe03a7a80"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga8a1a9398f7c1e17e4da8243fe03a7a80">ecrt_master_get_slave</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, <a class="el" href="structec__slave__info__t.html">ec_slave_info_t</a> *slave_info)</td></tr>
<tr class="memdesc:ga8a1a9398f7c1e17e4da8243fe03a7a80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains slave information.  <a href="group__ApplicationInterface.html#ga8a1a9398f7c1e17e4da8243fe03a7a80">More...</a><br /></td></tr>
<tr class="separator:ga8a1a9398f7c1e17e4da8243fe03a7a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga644db1b4181bfe2943bb8fa81bd027f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga644db1b4181bfe2943bb8fa81bd027f7">ecrt_master_callbacks</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, void(*send_cb)(void *), void(*receive_cb)(void *), void *cb_data)</td></tr>
<tr class="memdesc:ga644db1b4181bfe2943bb8fa81bd027f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the locking callbacks.  <a href="group__ApplicationInterface.html#ga644db1b4181bfe2943bb8fa81bd027f7">More...</a><br /></td></tr>
<tr class="separator:ga644db1b4181bfe2943bb8fa81bd027f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f623ede71e87dd0e9d6ab87086f0d4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga9f623ede71e87dd0e9d6ab87086f0d4f">ecrt_master_state</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, <a class="el" href="structec__master__state__t.html">ec_master_state_t</a> *state)</td></tr>
<tr class="memdesc:ga9f623ede71e87dd0e9d6ab87086f0d4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current master state.  <a href="group__ApplicationInterface.html#ga9f623ede71e87dd0e9d6ab87086f0d4f">More...</a><br /></td></tr>
<tr class="separator:ga9f623ede71e87dd0e9d6ab87086f0d4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90c4d1a88ecc1f3a49ba73dad4efdb14"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga90c4d1a88ecc1f3a49ba73dad4efdb14">ecrt_master_link_state</a> (const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, unsigned int dev_idx, <a class="el" href="structec__master__link__state__t.html">ec_master_link_state_t</a> *state)</td></tr>
<tr class="memdesc:ga90c4d1a88ecc1f3a49ba73dad4efdb14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current state of a redundant link.  <a href="group__ApplicationInterface.html#ga90c4d1a88ecc1f3a49ba73dad4efdb14">More...</a><br /></td></tr>
<tr class="separator:ga90c4d1a88ecc1f3a49ba73dad4efdb14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga567ccc15f09d5722fd6269f297b72a58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga567ccc15f09d5722fd6269f297b72a58">ecrt_master_application_time</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint64_t app_time)</td></tr>
<tr class="memdesc:ga567ccc15f09d5722fd6269f297b72a58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the application time.  <a href="group__ApplicationInterface.html#ga567ccc15f09d5722fd6269f297b72a58">More...</a><br /></td></tr>
<tr class="separator:ga567ccc15f09d5722fd6269f297b72a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaefb582f13442ef8b770fd308b8de949c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaefb582f13442ef8b770fd308b8de949c">ecrt_master_reference_clock_time</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint32_t *time)</td></tr>
<tr class="memdesc:gaefb582f13442ef8b770fd308b8de949c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the lower 32 bit of the reference clock system time.  <a href="group__ApplicationInterface.html#gaefb582f13442ef8b770fd308b8de949c">More...</a><br /></td></tr>
<tr class="separator:gaefb582f13442ef8b770fd308b8de949c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdc6735565f209d8ab8473f34617a526"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gabdc6735565f209d8ab8473f34617a526">ecrt_master_sync_reference_clock</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:gabdc6735565f209d8ab8473f34617a526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queues the DC reference clock drift compensation datagram for sending.  <a href="group__ApplicationInterface.html#gabdc6735565f209d8ab8473f34617a526">More...</a><br /></td></tr>
<tr class="separator:gabdc6735565f209d8ab8473f34617a526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb8b8f705803689e789f022b01eb8deb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gadb8b8f705803689e789f022b01eb8deb">ecrt_master_sync_slave_clocks</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:gadb8b8f705803689e789f022b01eb8deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queues the DC clock drift compensation datagram for sending.  <a href="group__ApplicationInterface.html#gadb8b8f705803689e789f022b01eb8deb">More...</a><br /></td></tr>
<tr class="separator:gadb8b8f705803689e789f022b01eb8deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3df6e34876cbad6e3e2a4d51ec1ba812"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga3df6e34876cbad6e3e2a4d51ec1ba812">ecrt_master_sync_monitor_queue</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga3df6e34876cbad6e3e2a4d51ec1ba812"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queues the DC synchrony monitoring datagram for sending.  <a href="group__ApplicationInterface.html#ga3df6e34876cbad6e3e2a4d51ec1ba812">More...</a><br /></td></tr>
<tr class="separator:ga3df6e34876cbad6e3e2a4d51ec1ba812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a0b4bef9b058f9a7752878f7c07cdf3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga0a0b4bef9b058f9a7752878f7c07cdf3">ecrt_master_sync_monitor_process</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:ga0a0b4bef9b058f9a7752878f7c07cdf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes the DC synchrony monitoring datagram.  <a href="group__ApplicationInterface.html#ga0a0b4bef9b058f9a7752878f7c07cdf3">More...</a><br /></td></tr>
<tr class="separator:ga0a0b4bef9b058f9a7752878f7c07cdf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52ec1296b7c6c21e86b906ef4edc6208"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga52ec1296b7c6c21e86b906ef4edc6208">ecrt_master_sdo_download</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, uint16_t index, uint8_t subindex, uint8_t *data, size_t data_size, uint32_t *abort_code)</td></tr>
<tr class="memdesc:ga52ec1296b7c6c21e86b906ef4edc6208"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes an SDO download request to write data to a slave.  <a href="group__ApplicationInterface.html#ga52ec1296b7c6c21e86b906ef4edc6208">More...</a><br /></td></tr>
<tr class="separator:ga52ec1296b7c6c21e86b906ef4edc6208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga357ce803ce5e7a8e59f14bf3eaf11439"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga357ce803ce5e7a8e59f14bf3eaf11439">ecrt_master_sdo_download_complete</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, uint16_t index, uint8_t *data, size_t data_size, uint32_t *abort_code)</td></tr>
<tr class="memdesc:ga357ce803ce5e7a8e59f14bf3eaf11439"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes an SDO download request to write data to a slave via complete access.  <a href="group__ApplicationInterface.html#ga357ce803ce5e7a8e59f14bf3eaf11439">More...</a><br /></td></tr>
<tr class="separator:ga357ce803ce5e7a8e59f14bf3eaf11439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d6d538e803530ac104c9bf2d37a24c4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga8d6d538e803530ac104c9bf2d37a24c4">ecrt_master_sdo_upload</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, uint16_t index, uint8_t subindex, uint8_t *target, size_t target_size, size_t *result_size, uint32_t *abort_code)</td></tr>
<tr class="memdesc:ga8d6d538e803530ac104c9bf2d37a24c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes an SDO upload request to read data from a slave.  <a href="group__ApplicationInterface.html#ga8d6d538e803530ac104c9bf2d37a24c4">More...</a><br /></td></tr>
<tr class="separator:ga8d6d538e803530ac104c9bf2d37a24c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ddd58b7a66b774b6037edbc50c73293"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga5ddd58b7a66b774b6037edbc50c73293">ecrt_master_write_idn</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, uint8_t drive_no, uint16_t idn, uint8_t *data, size_t data_size, uint16_t *error_code)</td></tr>
<tr class="memdesc:ga5ddd58b7a66b774b6037edbc50c73293"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes an SoE write request.  <a href="group__ApplicationInterface.html#ga5ddd58b7a66b774b6037edbc50c73293">More...</a><br /></td></tr>
<tr class="separator:ga5ddd58b7a66b774b6037edbc50c73293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd875ea0739ebb3524269070d9357c4b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gacd875ea0739ebb3524269070d9357c4b">ecrt_master_read_idn</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t slave_position, uint8_t drive_no, uint16_t idn, uint8_t *target, size_t target_size, size_t *result_size, uint16_t *error_code)</td></tr>
<tr class="memdesc:gacd875ea0739ebb3524269070d9357c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes an SoE read request.  <a href="group__ApplicationInterface.html#gacd875ea0739ebb3524269070d9357c4b">More...</a><br /></td></tr>
<tr class="separator:gacd875ea0739ebb3524269070d9357c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6455adf50e074c51894113adb49e00c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gab6455adf50e074c51894113adb49e00c">ecrt_master_reset</a> (<a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master)</td></tr>
<tr class="memdesc:gab6455adf50e074c51894113adb49e00c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retry configuring slaves.  <a href="group__ApplicationInterface.html#gab6455adf50e074c51894113adb49e00c">More...</a><br /></td></tr>
<tr class="separator:gab6455adf50e074c51894113adb49e00c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:affc822534c2a4949d3a121af03f547fe"><td class="memItemLeft" align="right" valign="top"><a id="affc822534c2a4949d3a121af03f547fe"></a>
static unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#affc822534c2a4949d3a121af03f547fe">timeout_jiffies</a></td></tr>
<tr class="memdesc:affc822534c2a4949d3a121af03f547fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frame timeout in jiffies. <br /></td></tr>
<tr class="separator:affc822534c2a4949d3a121af03f547fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf671d05fb17a5f646a163f174177873"><td class="memItemLeft" align="right" valign="top"><a id="adf671d05fb17a5f646a163f174177873"></a>
static unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#adf671d05fb17a5f646a163f174177873">ext_injection_timeout_jiffies</a></td></tr>
<tr class="memdesc:adf671d05fb17a5f646a163f174177873"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeout for external datagram injection [jiffies]. <br /></td></tr>
<tr class="separator:adf671d05fb17a5f646a163f174177873"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07848f103b98208d90a6fec920790500"><td class="memItemLeft" align="right" valign="top">const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="master_8c.html#a07848f103b98208d90a6fec920790500">rate_intervals</a> []</td></tr>
<tr class="memdesc:a07848f103b98208d90a6fec920790500"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of intervals for statistics [s].  <a href="#a07848f103b98208d90a6fec920790500">More...</a><br /></td></tr>
<tr class="separator:a07848f103b98208d90a6fec920790500"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT master methods. </p>

<p class="definition">Definition in file <a class="el" href="master_8c_source.html">master.c</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ac767bf3e8f388127d3acdf822a7bbe50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac767bf3e8f388127d3acdf822a7bbe50">&#9670;&nbsp;</a></span>EC_FIND_SLAVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EC_FIND_SLAVE</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line">        if (alias) { \</div><div class="line">            for (; slave &lt; master-&gt;slaves + master-&gt;slave_count; \</div><div class="line">                    slave++) { \</div><div class="line">                if (slave-&gt;effective_alias == alias) \</div><div class="line">                break; \</div><div class="line">            } \</div><div class="line">            if (slave == master-&gt;slaves + master-&gt;slave_count) \</div><div class="line">            return NULL; \</div><div class="line">        } \</div><div class="line">        \</div><div class="line">        slave += position; \</div><div class="line">        if (slave &lt; master-&gt;slaves + master-&gt;slave_count) { \</div><div class="line">            return slave; \</div><div class="line">        } <span class="keywordflow">else</span> { \</div><div class="line">            return NULL; \</div><div class="line">        } \</div><div class="line">    } <span class="keywordflow">while</span> (0)</div></div><!-- fragment -->
<p>Common implementation for <a class="el" href="master_8c.html#a219b6e4e9e03c176c716a9f77a745c53" title="Finds a slave in the bus, given the alias and position. ">ec_master_find_slave()</a> and <a class="el" href="master_8c.html#a9a4d59c5ff4563f659dbebe5ca6dc505" title="Finds a slave in the bus, given the alias and position. ">ec_master_find_slave_const()</a>. </p>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01767">1767</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ae5318cdfa66be853bd7c04b9ebe445f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5318cdfa66be853bd7c04b9ebe445f3">&#9670;&nbsp;</a></span>EC_FIND_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EC_FIND_CONFIG</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line">        list_for_each_entry(sc, &amp;master-&gt;configs, list) { \</div><div class="line">            if (pos--) \</div><div class="line">                continue; \</div><div class="line">            return sc; \</div><div class="line">        } \</div><div class="line">        return NULL; \</div><div class="line">    } <span class="keywordflow">while</span> (0)</div></div><!-- fragment -->
<p>Common implementation for <a class="el" href="master_8c.html#a401f275d34a9ef5b85879e6a3d4f1507" title="Get a slave configuration via its position in the list. ">ec_master_get_config()</a> and <a class="el" href="master_8c.html#ab4688a44f35279c37bf4add37c49daf9" title="Get a slave configuration via its position in the list. ">ec_master_get_config_const()</a>. </p>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01842">1842</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac9f5576287074fe04d844bf8541a1648"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9f5576287074fe04d844bf8541a1648">&#9670;&nbsp;</a></span>EC_FIND_DOMAIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EC_FIND_DOMAIN</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line">        list_for_each_entry(domain, &amp;master-&gt;domains, list) { \</div><div class="line">            if (index--) \</div><div class="line">                continue; \</div><div class="line">            return domain; \</div><div class="line">        } \</div><div class="line">        \</div><div class="line">        return NULL; \</div><div class="line">    } <span class="keywordflow">while</span> (0)</div></div><!-- fragment -->
<p>Common implementation for <a class="el" href="master_8c.html#a8d22634713ccbe95cb40767cda5375a2" title="Get a domain via its position in the list. ">ec_master_find_domain()</a> and <a class="el" href="master_8c.html#ac767fa3488ddfc5a678d2949e40acdc4" title="Get a domain via its position in the list. ">ec_master_find_domain_const()</a>. </p>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01905">1905</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a46e3a01cc6b9385c1f18a44dd16bb47b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46e3a01cc6b9385c1f18a44dd16bb47b">&#9670;&nbsp;</a></span>ec_master_find_dc_ref_clock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_find_dc_ref_clock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the DC reference clock. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02022">2022</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac7bf56162a722865aad0fbbd09213ac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7bf56162a722865aad0fbbd09213ac7">&#9670;&nbsp;</a></span>ec_master_clear_device_stats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_clear_device_stats </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the common device statistics. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01265">1265</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a0d2ce490ddb53cdaa8b555a957a21666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d2ce490ddb53cdaa8b555a957a21666">&#9670;&nbsp;</a></span>ec_master_update_device_stats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_update_device_stats </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates the common device statistics. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01293">1293</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a67209c37a6cbcb6e0db918e85dc74159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67209c37a6cbcb6e0db918e85dc74159">&#9670;&nbsp;</a></span>ec_master_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>main_mac</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>backup_mac</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dev_t&#160;</td>
          <td class="paramname"><em>device_number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="module_8c.html#a9b6474dd18270738a5c4853fd93b5e70">class</a> *&#160;</td>
          <td class="paramname"><em>class</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>debug_level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Master constructor. </p>
<dl class="section return"><dt>Returns</dt><dd>0 in case of success, else &lt; 0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">index</td><td>master index </td></tr>
    <tr><td class="paramname">main_mac</td><td>MAC address of main device </td></tr>
    <tr><td class="paramname">backup_mac</td><td>MAC address of backup device </td></tr>
    <tr><td class="paramname">device_number</td><td>Character device number. </td></tr>
    <tr><td class="paramname">class</td><td>Device class. </td></tr>
    <tr><td class="paramname">debug_level</td><td>Debug level (module parameter). </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00129">129</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="abe60d9fca60eab2dcb0654337caa338e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe60d9fca60eab2dcb0654337caa338e">&#9670;&nbsp;</a></span>ec_master_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00380">380</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aba1142e8379ff8c46c773b718ccc427d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba1142e8379ff8c46c773b718ccc427d">&#9670;&nbsp;</a></span>ec_master_clear_eoe_handlers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_clear_eoe_handlers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear and free all EoE handlers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00427">427</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac628f5e9972d30a808ca4fa704be01db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac628f5e9972d30a808ca4fa704be01db">&#9670;&nbsp;</a></span>ec_master_clear_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_clear_config </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear the configuration applied by the application. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00520">520</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac32d5757e56de259d18bdea5530eefe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac32d5757e56de259d18bdea5530eefe6">&#9670;&nbsp;</a></span>ec_master_internal_send_cb()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_internal_send_cb </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cb_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal sending callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cb_data</td><td>Callback data. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00534">534</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="afb9546182be85789ea86c822ffbfbb58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb9546182be85789ea86c822ffbfbb58">&#9670;&nbsp;</a></span>ec_master_internal_receive_cb()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_internal_receive_cb </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cb_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal receiving callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cb_data</td><td>Callback data. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00548">548</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a145bcb37a6bd22d01708c905a931f891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a145bcb37a6bd22d01708c905a931f891">&#9670;&nbsp;</a></span>ec_master_thread_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_thread_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int(*)(void *)&#160;</td>
          <td class="paramname"><em>thread_func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts the master thread. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>Success. </td></tr>
    <tr><td class="paramname">&lt;0</td><td>Error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">thread_func</td><td>thread function to start </td></tr>
    <tr><td class="paramname">name</td><td>Thread name. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00565">565</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="afeb7a50f8ddf5da026a29fa6a0a0ad5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeb7a50f8ddf5da026a29fa6a0a0ad5e">&#9670;&nbsp;</a></span>ec_master_thread_stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_thread_stop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops the master thread. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00588">588</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a953107732b8b44631afcb3d2f82964a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a953107732b8b44631afcb3d2f82964a0">&#9670;&nbsp;</a></span>ec_master_enter_idle_phase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_enter_idle_phase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transition function from ORPHANED to IDLE phase. </p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00620">620</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a064c1933a370bf502e0bf42e15ae45f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a064c1933a370bf502e0bf42e15ae45f9">&#9670;&nbsp;</a></span>ec_master_leave_idle_phase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_leave_idle_phase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transition function from IDLE to ORPHANED phase. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00653">653</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a3fce542facf1fd0cee605b15b9a9e890"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fce542facf1fd0cee605b15b9a9e890">&#9670;&nbsp;</a></span>ec_master_enter_operation_phase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_enter_operation_phase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transition function from IDLE to OPERATION phase. </p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00677">677</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ae7481d16bd218ab84f395a0382b4de64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7481d16bd218ab84f395a0382b4de64">&#9670;&nbsp;</a></span>ec_master_leave_operation_phase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_leave_operation_phase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transition function from OPERATION to IDLE phase. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00759">759</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a832eb2e0abbe7a75055672a08175a2f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a832eb2e0abbe7a75055672a08175a2f4">&#9670;&nbsp;</a></span>ec_master_inject_external_datagrams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_inject_external_datagrams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Injects external datagrams that fit into the datagram queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00781">781</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a325dee2c1fc8729911c9dc9b4c9c35a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a325dee2c1fc8729911c9dc9b4c9c35a3">&#9670;&nbsp;</a></span>ec_master_set_send_interval()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_set_send_interval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>send_interval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the expected interval between calls to ecrt_master_send and calculates the maximum amount of data to queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">send_interval</td><td>Send interval </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00890">890</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a176aa87adf1dc845b1cdc2f1becb3172"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a176aa87adf1dc845b1cdc2f1becb3172">&#9670;&nbsp;</a></span>ec_master_get_external_datagram()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a>* ec_master_get_external_datagram </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Searches for a free datagram in the external datagram ring. </p>
<dl class="section return"><dt>Returns</dt><dd>Next free datagram, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00907">907</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a4f08b9fccbb8528e7cdff3ab096d1a2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f08b9fccbb8528e7cdff3ab096d1a2e">&#9670;&nbsp;</a></span>ec_master_queue_datagram()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_queue_datagram </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Places a datagram in the datagram queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">datagram</td><td>datagram </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00926">926</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a4ee969becffc63a8ea23b40fcfad75e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ee969becffc63a8ea23b40fcfad75e9">&#9670;&nbsp;</a></span>ec_master_queue_datagram_ext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_queue_datagram_ext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Places a datagram in the non-application datagram queue. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">datagram</td><td>datagram </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00957">957</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac505facdaf5fc54a3b20be8d4ec27747"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac505facdaf5fc54a3b20be8d4ec27747">&#9670;&nbsp;</a></span>ec_master_send_datagrams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_send_datagrams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#ad1a2101422888687598d7e1a630c6343">ec_device_index_t</a>&#160;</td>
          <td class="paramname"><em>device_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sends the datagrams in the queue for a certain device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">device_index</td><td>Device index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00972">972</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a64c31b83d02d9d7b92ee78396115d352"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64c31b83d02d9d7b92ee78396115d352">&#9670;&nbsp;</a></span>ec_master_receive_datagrams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_receive_datagrams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>frame_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Processes a received frame. </p>
<p>This function is called by the network driver for every received frame.</p>
<dl class="section return"><dt>Returns</dt><dd>0 in case of success, else &lt; 0 </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
    <tr><td class="paramname">frame_data</td><td>frame data </td></tr>
    <tr><td class="paramname">size</td><td>size of the received data </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01109">1109</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac54b1ad537b965a8c8b30853aae4f299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac54b1ad537b965a8c8b30853aae4f299">&#9670;&nbsp;</a></span>ec_master_output_stats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_output_stats </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output master statistics. </p>
<p>This function outputs statistical data on demand, but not more often than necessary. The output happens at most once a second. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01235">1235</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a2532297f68368abd6ebe4f7ca4ecb118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2532297f68368abd6ebe4f7ca4ecb118">&#9670;&nbsp;</a></span>ec_master_exec_slave_fsms()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_exec_slave_fsms </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Execute slave FSMs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01420">1420</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a6990c94548e6bae3046fce058290568a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6990c94548e6bae3046fce058290568a">&#9670;&nbsp;</a></span>ec_master_eoe_start()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_eoe_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts Ethernet over EtherCAT processing on demand. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01635">1635</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac6bc3661b0ddb2397967861e7b260143"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6bc3661b0ddb2397967861e7b260143">&#9670;&nbsp;</a></span>ec_master_eoe_stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_eoe_stop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops the Ethernet over EtherCAT processing. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01672">1672</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aabba4d8b5b431401a0b851dca5387a03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabba4d8b5b431401a0b851dca5387a03">&#9670;&nbsp;</a></span>ec_master_attach_slave_configs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_attach_slave_configs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attaches the slave configurations to the slaves. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01751">1751</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a219b6e4e9e03c176c716a9f77a745c53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a219b6e4e9e03c176c716a9f77a745c53">&#9670;&nbsp;</a></span>ec_master_find_slave()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a>* ec_master_find_slave </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>alias</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a slave in the bus, given the alias and position. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">alias</td><td>Slave alias. </td></tr>
    <tr><td class="paramname">position</td><td>Slave position. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01791">1791</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a9a4d59c5ff4563f659dbebe5ca6dc505"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a4d59c5ff4563f659dbebe5ca6dc505">&#9670;&nbsp;</a></span>ec_master_find_slave_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a>* ec_master_find_slave_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>alias</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a slave in the bus, given the alias and position. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">alias</td><td>Slave alias. </td></tr>
    <tr><td class="paramname">position</td><td>Slave position. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01807">1807</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="abed3c7080b03023e5dd744f7ffe400b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abed3c7080b03023e5dd744f7ffe400b3">&#9670;&nbsp;</a></span>ec_master_config_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ec_master_config_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of slave configurations provided by the application. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of configurations. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01823">1823</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a401f275d34a9ef5b85879e6a3d4f1507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a401f275d34a9ef5b85879e6a3d4f1507">&#9670;&nbsp;</a></span>ec_master_get_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a>* ec_master_get_config </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a slave configuration via its position in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Slave configuration or <em>NULL</em>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">pos</td><td>List position. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01856">1856</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ab4688a44f35279c37bf4add37c49daf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4688a44f35279c37bf4add37c49daf9">&#9670;&nbsp;</a></span>ec_master_get_config_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a>* ec_master_get_config_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a slave configuration via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Slave configuration or <em>NULL</em>. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">pos</td><td>List position. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01871">1871</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aec56a429afe6e1833d36cb90870329fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec56a429afe6e1833d36cb90870329fd">&#9670;&nbsp;</a></span>ec_master_domain_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ec_master_domain_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of domains. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of domains. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01886">1886</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a8d22634713ccbe95cb40767cda5375a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d22634713ccbe95cb40767cda5375a2">&#9670;&nbsp;</a></span>ec_master_find_domain()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a>* ec_master_find_domain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a domain via its position in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Domain pointer, or <em>NULL</em> if not found. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">index</td><td>Domain index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01920">1920</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="ac767fa3488ddfc5a678d2949e40acdc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac767fa3488ddfc5a678d2949e40acdc4">&#9670;&nbsp;</a></span>ec_master_find_domain_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a>* ec_master_find_domain_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a domain via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Domain pointer, or <em>NULL</em> if not found. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">index</td><td>Domain index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01935">1935</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a1fcf7d0815f5e4bf041fd083857cd7b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fcf7d0815f5e4bf041fd083857cd7b4">&#9670;&nbsp;</a></span>ec_master_eoe_handler_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t ec_master_eoe_handler_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of EoE handlers. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of EoE handlers. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01952">1952</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a8ee4d7fd000942ce4ca9d2072a924d08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ee4d7fd000942ce4ca9d2072a924d08">&#9670;&nbsp;</a></span>ec_master_get_eoe_handler_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="ethernet_8h.html#a03b01351f25a9210938e676941427cf4">ec_eoe_t</a>* ec_master_get_eoe_handler_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get an EoE handler via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>EoE handler pointer, or <em>NULL</em> if not found. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">index</td><td>EoE handler index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01974">1974</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a9536093761b5644505db208de1ff6f3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9536093761b5644505db208de1ff6f3d">&#9670;&nbsp;</a></span>ec_master_debug_level()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_debug_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the debug level. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>Success. </td></tr>
    <tr><td class="paramname">-EINVAL</td><td>Invalid debug level. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">level</td><td>Debug level. May be 0, 1 or 2. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l01999">1999</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a185dec218540303a0d13432003226c24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a185dec218540303a0d13432003226c24">&#9670;&nbsp;</a></span>ec_master_calc_topology_rec()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_master_calc_topology_rec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>port0_slave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>slave_position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates the bus topology; recursion function. </p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">port0_slave</td><td>Slave at port 0. </td></tr>
    <tr><td class="paramname">slave_position</td><td>Slave position. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02084">2084</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a3efc174486826b61475631bb8f174921"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3efc174486826b61475631bb8f174921">&#9670;&nbsp;</a></span>ec_master_calc_topology()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_calc_topology </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates the bus topology. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02127">2127</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aaad29114739c2b893d0213da1077a1e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaad29114739c2b893d0213da1077a1e5">&#9670;&nbsp;</a></span>ec_master_calc_transmission_delays()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_calc_transmission_delays </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates the bus transmission delays. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02144">2144</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aafd73ba61769411a24cbd11aa2e6eff0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd73ba61769411a24cbd11aa2e6eff0">&#9670;&nbsp;</a></span>ec_master_calc_dc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_calc_dc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Distributed-clocks calculations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02166">2166</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="a0511f992dad4de50b21d3bb02c7ef3d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0511f992dad4de50b21d3bb02c7ef3d9">&#9670;&nbsp;</a></span>ec_master_request_op()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_master_request_op </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Request OP state for configured slaves. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02183">2183</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<a id="aa1f4eb5317fbcaa6f25ff49199beede6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1f4eb5317fbcaa6f25ff49199beede6">&#9670;&nbsp;</a></span>ecrt_master_create_domain_err()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a>* ecrt_master_create_domain_err </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as <a class="el" href="group__ApplicationInterface.html#gae4ede07f05b211667078ab2b2396da6e" title="Creates a new process data domain. ">ecrt_master_create_domain()</a>, but with ERR_PTR() return value. </p>
<dl class="section return"><dt>Returns</dt><dd>New domain, or ERR_PTR() return value. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">master</td><td>master </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l02217">2217</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a07848f103b98208d90a6fec920790500"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07848f103b98208d90a6fec920790500">&#9670;&nbsp;</a></span>rate_intervals</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned int rate_intervals[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    1, 10, 60</div><div class="line">}</div></div><!-- fragment -->
<p>List of intervals for statistics [s]. </p>

<p class="definition">Definition at line <a class="el" href="master_8c_source.html#l00087">87</a> of file <a class="el" href="master_8c_source.html">master.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="master_8c.html">master.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
